{include file="public:header" /}
<!--房源列表-->
<div class="pad_lr_10" >
    <div class="J_tablelist table_list" data-acturi="{:url('ajaxEdit')}">
        <table width="100%" cellspacing="0">
            <thead>
            <tr>
                <th width=25><input type="checkbox" id="checkall_t" class="J_checkall"></th>
                <th><span data-tdtype="order_by" data-field="id">ID</span></th>
                <th width="120">用户名</th>
                <th width="100">联系方式</th>
                <th>内容</th>
                <th width=150>提交时间</th>
                <th width="40">状态</th>
                <th width="120">操作</th>
            </tr>
            </thead>
            <tbody>
            {volist name="list" id="val"}
            <tr>
                <td align="center"><input type="checkbox" class="J_checkitem" value="{$val.id}"></td>
                <td align="center">{$val.id}</td>
                <td align="center">
                    {$val.user.nickname}
                </td>
                <td align="center">{$val.user.mobile}</td>
                <td align="center">{$val.info}</td>
                <td align="center">{$val.create_time|date='Y-m-d H:i:s',###}</td>
                <td align="center">
                    {if condition="$val.status eq 1"}已处理{else /}<span style="color:#ff0000">待处理</span>{/if}
                </td>
                <td align="center">{:rights($options,$val['id'],$val.user.nickname,$menuid)}</td>
            </tr>
            {/volist}
            </tbody>
        </table>

        <div class="btn_wrap_fixed">
            <label class="select_all"><input type="checkbox" name="checkall" class="J_checkall">全选/取消</label>
            <input type="button" class="btn" data-tdtype="batch_action" data-acttype="ajax" data-uri="{:url('delete')}" data-name="id" data-msg="确定要删除该条记录么?" value="删除" />
            <div id="pages">{$pages}</div>
        </div>
    </div>
</div>
{include file="public:footer" /}
<script src="__PUBLIC__/js/calendar/WdatePicker.js" charset="utf-8"></script>
</body>
</html>
